package com.example.demo.service;

import com.example.demo.entity.SearchHistory;

import java.util.List;

public interface SearchHistoryService {

    List<String> findByUserIdOrderBySearchTimeDesc(Long userId);

    SearchHistory save(SearchHistory searchHistory);

    void deleteByUserId(Long userId);
}

